{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true,
    "ExecuteTime": {
     "end_time": "2023-12-05T17:30:07.096803100Z",
     "start_time": "2023-12-05T17:30:05.246784600Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "http://34.84c.cn/cdn/281/1127.gif?12060130067008\n"
     ]
    }
   ],
   "source": [
    "# 设置签名设计\n",
    "import requests\n",
    "\n",
    "url = \"https://free.wqwlkj.cn/wqwlapi/ysz.php\"\n",
    "params = {\n",
    "    \"type\": \"json\",\n",
    "    \"id\": \"36\",\n",
    "    \"text\": \"艾则麦提\",\n",
    "    \"color\": \"000000\",\n",
    "    \"shadow\": \"5555\",\n",
    "    \"background\": \"FFFFFF\"\n",
    "}\n",
    "\n",
    "response = requests.post(url, params=params)\n",
    "data = response.json()\n",
    "print(data['imgurl'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   }
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
